package personal.hn.newjava.repository;

import personal.hn.newjava.model.Goods;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface GoodsRespository extends JpaRepository<Goods, Long>{
    Page<Goods> findAll(Pageable page);
}
